package com.ruoyi.generator.service;

import com.ruoyi.generator.entity.*;
import com.ruoyi.generator.entity.dto.CustomerExportVo;

import java.util.List;

/**
 * 业务字段 服务层
 * 
 * @author ruoyi
 */
public interface CustomerService
{

    /**
     * 新增登记
     * 
     * @param Customer 新增登记
     * @return 结果
     */
    public int insertCustomer( Customer Customer);

    List<Customer> selectCustomerList(CustomerSearchCriteria CustomerSearchCriteria);

    int updateCustomerByCode(Customer Customer);

    void deleteCustomerBycustomerCode(String code);


    int addVisit(CustomerVisit customerVisit);

    List<CustomerVisit> selectCustomerVisitList(CustomerVisitSearchCriteria customerVisitSearchCriteria);

    int updateVisit(CustomerVisit customerVisit);

    Customer selectCustomerBycustomerCode(String customerCode);

    int addInvoice(InvoiceForm invoiceForm);

    List<InvoiceForm> selectInvoiceByContractNumber(String contractCode);

    CustomerInvoice queryCustomerInvoiceByCustomerCode(String clientName);
    CustomerInvoice queryCustomerInvoiceByClientName(String clientName);
    List<Customer> queryMesBycustomerName(String customerName);

    String queryStartDateByContractNumber(String contractCode);

    String addCustomerList(List<CustomerInfo> userList);

    List<ExportCustomer> exportCustomerList(CustomerExportSearchCriteria customerSearchCriteria);

    

    List<CustomerExportVo> pushCustomerList(CustomerExportSearchCriteria customerExportSearchCriteria);
}
